home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / shareware / applications / jcgraph / helpfile / fileformat.hlp < prev    next >
Text File  |  1994-11-17  |  2KB  |  42 lines

  1. \font Helvetica 15
  2. \title File Format...
  3. \bold
  4. File Format...
  5. \bold
  6.  
  7.   Here is the file format recognized by JcGraph: In this example, we will
  8. create a graph of 3 lines by 3 columns.
  9.   It is important that it should not produce a file containing special control
  10. characters that would not be recognized by JcGraph (stay ASCII international).
  11.     After your text editor is loaded, start by entering "1002" (without the
  12. delimiters). This sequence help JcGraph identify the file type, to be sure
  13. that it is really compatible. Note that all value should be comma-separated.
  14.     Next, enter the number of column that your file will contain, "3" in our
  15. example. Do the same thing for the number of line. Follows a number which
  16. will set the space between each cotation in the scale on the side of the
  17. graph; for example, if your data range from 0 to 100 and you specify 25,
  18. the cotation scale will output "0","25","50","75","100". This number use
  19. the same value unit as the data itself.
  20.     The next number (floating point), is the one by which every cotation
  21. value will be multiplied ; for example, if you enter "1.24", each cotation
  22. of the scale will be muliplied by 1.24. This permits to access floating
  23. point value without changing the data itself. Note that only 3 decimals
  24. positions will be kept for now and that a value of 0 will result in an
  25. integer form (ie no decimal point).
  26.     The next step is the value entry. As we chose to produce a 3 by 3 data
  27. file, there will be 9 consecutive values (they can be on the same line but
  28. should always be comma-separated).
  29.     The 3 next value are text strings that will identify your columns (they
  30. should always be filled). Same procedure for each line. Note that the
  31. orientation is always the same. Rows represents variation and lines are
  32. diferent products type.
  33.  
  34. Here is the resulting data file from the example:
  35. 1002,
  36. 3,3,10,0,
  37. 10,20,30,
  38. 50,60,60,
  39. 15,32,17,
  40. Jan,Fev,Mar,
  41. Gaz,Oil,Fer,
  42.